#include "tema1.cpp"
#include<iostream>
int main()
{
	Punct B=Punct(2,3);
	std::cout<<"B("<<B.getx()<<","<<B.gety()<<")"; 
	Punct A=Punct(1,3);
	if(A!=B)
	   std::cout<<"\nnu sunt egale";
	Punct vA=Punct(2,3);
        Punct vB=Punct(2,5);
        Segment s=Segment(vA,vB);
        Segment AB(A,B);
        std::cout<<"\nLUNGIME SEGMENT "<<AB.calcul_Lung();
	//int np;	
	//std::cout<<"introduceti nr de puncte";
	//std::cin>>np;
        Poligon P(5);
	if(P.isPoligon!=0)
           std::cout<<"este poligon";
	return 0;

}
